package com.monkeygroup.mygoplus.http;

/**
 * MyGo api-url
 **/
public class RequestUrl {
    /***
     * 基地址，API尽量使用基地址拼接
     ***/
    public static final String baseUrl = "http://imaxli.com:3000/api/";
    //登錄
    public static final String loginUrl = "users/login";
    //驗證是否註冊
    public static final String vilidateUrl = "users/registered";
    //驗證是否有該賬號
    public static final String vilidateAccountUrl = "users/account";

    //註冊
    public static final String registerUrl = "users/register";


    //个人资料
    public static final String userinfourl="users/getMessage";
    //上傳頭像
    public static final String uploadHeadUrl = "users/portrait";
    //忘記密碼
    public static final String findPwdUrl = "users/forget";

    //三方登陆
    public static final String thirdLoginUrl = "users/third";

    //获取短信验证码
    public static final String verifyUrl = "users/getVerify";
    //验证短信验证码
    public static final String checkVerifyUrl = "users/checkVerify";

    //上傳圖片
    public static final String uploadImg="users/uploadImg";

    //上傳头像
    public static final String uploadPortraitImg="users/portrait";

    //上傳背景
    public static final String uploadBackgroundImg="users/background";


    //更改用户信息
    public static final String updateUserUrl="users/updateInfo";

    //租房
    public static final String thingsUrl = "http://www.mygo.com/mygoappapi/searchrent";
    //買房
    public static final String thingsbuyUrl = "http://www.mygo.com/mygoappapi/searchbuy";

    //頂讓
    public static final String topUrl = "http://www.mygo.com/mygoappapi/searchsell";

    //建案
    public static final String buildingUrl = "http://www.mygo.com/mygoappapi/searchbuilding";

    //社區
    public static final String communityUrl = "http://www.mygo.com/mygoappapi/searchcommunity";
    //我的物件
    public static final String getPersonalPropertyUrl="http://www.mygo.com/mygoappapi/getmyproperty";


    //新增物件
    public static final String savepropertyUrl = "http://www.mygo.com/mygoappapi/saveproperty";

    //獲取物件詳細信息
    public static final String getPropertyUrl="http://www.mygo.com/mygoappapi/getproperty";
    //獲取建案詳細信息
    public static final String getbuilding="http://www.mygo.com/mygoappapi/getbuilding";
    //社區詳情
    public static final String getCommunityDetailPropertyUrl="http://www.mygo.com/mygoappapi/getcommunity";
    //成交行情
    public static final String getPriceusePropertyUrl="http://www.mygo.com/mygoappapi/getpriceuse?t=1321259053&m=ec3a25af6c3ca8fd22c10632e3511351";
    //3.21	取得社区的物件列表
    public static final String getCommunityPropertyUrl="http://www.mygo.com/mygoappapi/getpropertybycommunity";
    //3.25	获取成交行情折线图
    public static final String getCommunitylineUrl="http://www.mygo.com/mygoappapi/getpricecommon";

    //Mygo+账号是否有绑定mygo账号
    public static final String isappaccbind = "http://www.mygo.com/mygoappapi/isappaccbind";
    //Mygo+账号绑定accbind
    public static final String accbind="http://www.mygo.com/mygoappapi/accbind";

    //mygo注册用户
    public static final String saveuerUrl = "http://www.mygo.com/mygoappapi/saveuser";
    //登錄web
    public static final  String appLoginUrl="http://www.mygo.com/mygoappapi/applogin";
    //grenades信息
    public static final String getUserinfourl="http://www.mygo.com/mygoappapi/getuserinfo";

    //我發佈的物件
    public static final String getmyproperty="http://www.mygo.com/mygoappapi/getmyproperty";

    //關閉物件
    public static final String propertyshelfoff="http://www.mygo.com/mygoappapi/propertyshelfoff";

    //開啟物件
    public static final String propertyshelfup="http://www.mygo.com/mygoappapi/propertyshelfup";

    //是否绑定MyGo+账号
    public static final String isbind="http://www.mygo.com/mygoappapi/isbind";
    /**
     * 網站接口基地址
     **/
    private static final String webBaseUrl = "http://www.mygo.com/mygoappapi/";
    //獲取基本信息
    public static final String getBaseInfo = "users/getBasicInformation";
    //獲取詳細信息
    public static final String getUserDetail = "users/getMessage";
    //獲取經紀人、營業員、專家
    private static final String REQUEST_USER_LIST = "searchagent";
    //獲取MyGo時間戳
    private static final String REQUEST_MYGO_TIME = "gettimestamp";

    public static String getMygoTime() {
        return webBaseUrl + REQUEST_MYGO_TIME;
    }

    public static String getSearchUserList() {
        return webBaseUrl + REQUEST_USER_LIST;
    }

    /**
     * 聯繫人接口begin
     **/
    //添加好友
    public static final String requestAddFriend = "users/addFriends";
    //同意或拒絕好友申請
    public static final String requestAgreeFriend = "users/agreeAdd";
    //刪除好友
    public static final String requestDeleteFriend = "users/deleteFriends";
    //獲取所有聯繫人
    public static final String requestAllContact = "users/allFriends";
    //獲取我的好友
    public static final String requestMyFriends = "users/normalFriends";
    //獲取好友申請
    public static final String requestApplyList = "users/applicationList";
    //獲取雷達列表
    public static final String requestRaderList = "users/rader";
    //獲取搖一搖列表
    public static final String requestShakeList = "users/shake";

    //關注某人
    public static final String requestConcernUrl = "users/concern";

    //取消關注
    public static final String requestCancelConcern = "users/cancelConcern";
    //獲取關注列表
    public static final String requestConcernList = "users/concernList";
    //獲取官方賬號列表
    public static final String requestOfficialList = "users/officicalList";
    //獲取新朋友列表
    public static final String requestNewFriendList = "users/newFriends";
    //封鎖好友、解封（0解封、1封鎖）
    public static final String requestBlockFriend = "users/blockFriend";
    //封鎖好友列表
    public static final String requestBlockList = "users/blockFriendsList";
    //添加好友备注
    public static final String requestAddRemark = "users/friendRemark";
    //修改是否提醒
    public static final String requestModifyNotification = "users/notification";

}
